package org.freemarker.core.dao;

import java.util.List;

import org.freemarker.core.model.Car;

public interface CarDao extends EntityJpaDao<Car> {
	
	//public long getCarsFromModel(String model);

	long getNumberOfCarsForNr(String nrMatricol);
	
	Car getCarForNr(String nrMatricol);
	
	public List<Car> findNotUsed();

	Car getCarForContact(long id);

	void setNotUsed(long id);
	
	public List<Car> getByBrand(String brand);
}
